package com.cx.caigou.config;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class ResultVO<T> {
    @ApiModelProperty(value = "是否成功")
    private boolean success;

    private String errorCode;
    @ApiModelProperty(value = "错误信息")
    private String errorMessage;
    @ApiModelProperty(value = "数据")
    private T data;//正常数据
    @ApiModelProperty(value = "成功信息")
    private String successMessage;
//    private Object hint;//异常数据
//    private Object[] errorArgs;

}
